package com.cn.demo.service;

import com.cn.demo.entity.Teacher;
import com.cn.demo.utils.Result;

public interface TeacherService {
    Result add(Teacher teacher);

    Result get(Integer page, Integer limit, Teacher teacher);

    Result delete(String[] teacherIdList);

    Result update(Teacher teacher);

    Result getByTeacherId(String teacherId);

    Result modifyPassword(String teacherId, String oldPassword, String affirmPassword);

    Result login(Teacher teacher);
}